<el-dialog title="添加资料" v-model="addFormDialog">
<!-- <el-form :model="form"> -->
<el-form ref="addForm" :rules="addRules" :model="addForm" :label-width="dialogLabelWidth">
<el-tabs  type="card" >
    <el-tab-pane label="账号" name="first">
      <el-row>
        <el-col :span="12">
          <el-form-item label="物品名字" prop="name">
            <el-input v-model="addForm.name"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="所属分类">
            <el-select v-model="addForm.pid">
              <el-option v-for="kind in kindsType" :label="kind.name" :value="kind.id"></el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>
        <el-row>
        <el-col :span="12">
          <el-form-item label="单位" prop="unit">
            <el-input v-model="addForm.unit"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="规格" prop="specification">
            <el-input v-model="addForm.specification"  auto-complete="off"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="属性">
            <el-select v-model="addForm.property">
              <el-option v-for="property in propertyType" :label="property.name" :value="property.id"></el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>
   
    </el-tab-pane>
    
  </el-tabs>
 
   
    
  </el-form>
  <div slot="footer" class="dialog-footer">
   <include file="Common:_add" />
  </div>
</el-dialog>